

package usercodedeployment;

import com.hazelcast.map.EntryProcessor;

import java.util.Map;

public class IncrementingEntryProcessor<K> implements EntryProcessor<K, Integer, Object> {
    public IncrementingEntryProcessor() {
    }

    public Object process(Map.Entry<K, Integer> var1) {
        Integer var2 = (Integer) var1.getValue();
        Integer var3 = var2 + 2;
        var1.setValue(var3);
        return var3;
    }
}
